About this mod
The tool is used to create a *.cache file for Warhammer 40,000: Space Marine 2 *.pak files. and can also create a *.header file for zipped audio files.
This is achieved by reading each file's header information in the archive file and recreating the .cache/.header file base on that information.
- Requirements
- Permissions and credits
- Mirrors
- Changelogs
This is achieved by reading each file's header information in the archive file and recreating the .cache/.header file base on that
information.
Usage
Drag and drop *.pak or *.zip file(s) on the *executable (pakcacher.exe) for it to create corresponding *.cache or *.header file.The created file will be in the
same directory of the dropped file. If a *.cache or *.header file already exists for the file, the existing is backed up before the new one is created.
*Do not open the executable
Requirements:
Windows 10/11 x64
Requires .Net Framework 4.8 (should come with every Windows10/11)
https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net48-web-installer
Mirrors:
Github release page <- Binaries and source
https://github.com/vash2pid/pakcacher/releases
Disclaimer
Although this tool does not modify the *.pak or *.header files, and creates backup of the existing *.cache file.It's till recommend to backup your original files before using the tool.
If the original files are lost or unrecoverable in any way, it's advisable to verity integrity of files on Steam or reinstall
the game.
This tool does not bypass any anti-cheat mechanism of the game and does not guarantee that the recreated *.cache will not trigger an AVF error.
Known Issues
Recreating the *.cache file for default_animation.pak and default_video_5.pak
files does work correctly with the current version.
It will trigger a crash on start up, cache file for
default_animation.pak and default_video_5.pak seems to be different than
the other pak files.
There may have some issues if using it on a pak file that are modified in some other way.If using zip archiving tools like 7zip or WinRar, it should be fine.
Shameless Plug:
If you're interested in importing/replacing textures in Space Marine 2, check out this tool that converts *.tga to *.pct_mip.
https://github.com/vash2pid/texmipper